<?php

namespace App\models;

use Illuminate\Database\Eloquent\Model;

class Order extends Model
{
    //
    protected $table = 'tp_order';
    protected $primaryKey = 'order_id';

    public function getOrderGoods()
    {
        return $this->hasOne(OrderGoods::class,'order_id','order_id');
    }


}
